/*界面样式*/
* {
    margin: 0px;
    padding: 0px;
}
body {
    overflow: hidden;
    background-color: #366FE3;
}

/*游戏样式*/
.logo-container {
    position: relative;
    width: 100%;
    height: 25px;
}
.logo-container .logo {
    width: 324px;
}
.logo-container .logo img {
    margin-top: 20px;
    height: 10px;
}
.game-container-box {
    position: relative;
    height: 100%;
    width: 100%;
    padding: 25px 0px 0px 10px;
}
.game-container {
    position: relative;
    height: 576px;
    width: 320px;
    pointer-events: auto;
}
.grid-1 {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 0px;
    height: 0px;
    background-color: transparent;
}
.grid-2 {
    position: absolute;
    left: 18px;
    top: 18px;
    width: 0px;
    height: 0px;
    background-color: transparent;
}
.grid-3 {
    position: absolute;
    left: 36px;
    top: 36px;
    width: 0px;
    height: 0px;
    background-color: transparent;
}
.grid-4 {
    position: absolute;
    left: 54px;
    top: 54px;
    width: 0px;
    height: 0px;
    background-color: transparent;
}
.grid-5 {
    position: absolute;
    left: 72px;
    top: 72px;
    width: 0px;
    height: 0px;
    background-color: transparent;
}
.game-selected-container {
    position: relative;
    margin-top: 25px;
    height: 34px;
    width: 252px;
    border-radius: 1.5px;
    padding: 2.5px;
    background-color: #104f86;
    border: 2.5px dashed #d0defc;
}

/*方块样式*/
.game-selected-container .game-item {
    position: relative;
    float: left;
    margin-right: 2.5px;
    width: 33.3px;
    height: 33.3px;
    border-radius: 1.5px;
    overflow: hidden;
    box-shadow: 0px 0px 2.5px #d7d5d5;
}
.game-selected-container .game-item img {
    height: 33.3px
}
.grid-game-item {
    position: absolute;
    width: 34px;
    height: 34px;
    border-radius: 2.5px;
    overflow: hidden;
    border: 0.45px solid whitesmoke;

    cursor: pointer;
    transition: all 0.5s;
}
.grid-game-item:hover {
    transform: scale(1.2);
}

.grid-game-item img {
    height: 33.3px;
}

.disable-click {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: black;
}
.grid-4 .disable-click {
    opacity: 0.6;
}
.grid-3 .disable-click {
    opacity: 0.6;
}
.grid-2 .disable-click {
    opacity: 0.6;
}
.grid-1 .disable-click {
    opacity: 0.6;
}
.grid-5 .grid-game-item {
    box-shadow: 0px 0px 5px black;
}
.grid-4 .grid-game-item {
    box-shadow: 0px 0px 5px black;
}
.grid-3 .grid-game-item {
    box-shadow: 0px 0px 5px black;
}
.grid-2 .grid-game-item {
    box-shadow: 0px 0px 5px black;
}


.popup {
    background-color: transparent;/*背景透明*/
    box-shadow: 0 0 0 rgba(0,0,0,0);/*前景无阴影*/
}
.close-popup-btn {
    width: 15px;
    height: 15px;
    background-color: transparent;
    border: 1px solid white;
    border-radius: 50px;
}
#restart {
    cursor: pointer;
    transition: all 0.5s;
}
#restart:hover {
    transform: scale(1.2);
}
